package com.wyl.salary.pojo

import io.objectbox.annotation.Entity
import io.objectbox.annotation.Id
import java.util.*

/**
 * 工资类
 *
 * @property date Date 日期
 * @property hours Double 工作时长
 * @property salary Double 时薪
 * @property tipping Double 外卖费
 * @property remarks String 备注
 * @constructor
 */
@Entity
data class SalaryBean(
    @Id(assignable = true)
    // @Expose(serialize = false)
    var id: Long = System.currentTimeMillis(),
    var date: Date = Date(),
    var hours: Double = 0.0,
    var salary: Double = 0.0,
    var tipping: Double = 0.0,
    var remarks: String = ""
)